package com.huiminpay.merchant.api.service;

import com.huiminpay.common.cache.domain.BusinessException;
import com.huiminpay.merchant.api.dto.AppDTO;

import java.util.List;

public interface AppServiceApi {
    //创建商户应用
    AppDTO createApp(AppDTO appDTO)throws BusinessException;

    //根据Id获取商户应用列表
    List<AppDTO> findAppsByMerchantId(Long merchantId)throws BusinessException;

    //根据Id获取商户应用信息
    AppDTO findAppById(Long appId)throws BusinessException;
}
